package com.kaili.basic.pojo.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by linjian on 19-8-5.
 */
@Data
@TableName("mdm_role")
public class MdmRoleVO implements Serializable{

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("角色id")
    private Integer id;

    @TableField("role_code")
    @ApiModelProperty("角色编号")
    private String roleCode;

    @TableField("user_name")
    @ApiModelProperty("角色名称")
    private String roleName;

    @TableField("created_time")
    @ApiModelProperty("创建时间")
    private Date createdTime;

    @TableField("created_by")
    @ApiModelProperty("创建人")
    private Long createdBy;

    @TableField("rd_status")
    @ApiModelProperty("状态")
    private Long rdStatus;

    @TableField("modify_time")
    @ApiModelProperty("创建时间")
    private Date modifyTime;

    @TableField("modify_by")
    @ApiModelProperty("创建人")
    private Long modifyBy;

    @ApiModelProperty("权限数组")
    private Long[] mids;
}
